package com.cmz.common.dto;

import com.cmz.common.api.dto.StandardPagination;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 分页信息
 * @author cmz
 */
@Getter
@Setter
@ApiModel("分页信息")
public class Pagination implements StandardPagination {

    @ApiModelProperty(value = "当前页", example = "1")
    private int pageNumber;

    @ApiModelProperty(value = "分页记录数", example = "10")
    private int pageSize;

    @ApiModelProperty("总记录数")
    private int totalRecord;

    @ApiModelProperty("总页数")
    private int totalPage;

}
